package OO;

public class Vehicle {
	private int wheel;
	
	public int getWheel(){
		return wheel;
	}
	
	public void setWheel(int n){
		if(n<10)
			wheel = n;
		else
			wheel = 2;
	}
	
	Vehicle(){
		wheel = 4;
	}
	Vehicle(int n){
		wheel = n;
	}
}
